package com.kaili.basic.pojo.entity;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@TableName("wms_receivable_handle_detail")
@Data
public class WmsReceivableHandleDetailEntity {
  @ApiModelProperty("主键Id")
  @TableId(type = IdType.AUTO)
  private Long id;

  @ApiModelProperty("记账流水号")
  private String serialCode;

  @ApiModelProperty("付款方式")
  private Long payMentId;

  @ApiModelProperty("对应首付款id")
  private Long receivableHandleId;

  @ApiModelProperty("金额")
  private Double money;

  @ApiModelProperty("付款机构")
  private String payOrganization;

  @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss" )
  @ApiModelProperty("付款时间")
  private Date payTime;

  @ApiModelProperty("备注")
  private String remark;

  @ApiModelProperty(value = "创建时间",hidden = true)
  private Date createTime;

  @ApiModelProperty(value = "创建人",hidden = true)
  private Long createBy;
}
